const routers = [
  {
    path: '/index',
    meta: {
      title: '首页'
    },
    component: (resolve) => require(['../views/index.vue'], resolve)
  },
  {
    path: '/video',
    meta: {
      title: '音视频'
    },
    component: (resolve) => require(['../views/video.vue'], resolve)
  },
  // {
  //   path: '/news',
  //   meta: {
  //     title: '公告'
  //   },
  //   component: (resolve) => require(['../views/news.vue'], resolve)
  // },
  // {
  //   path: '/rank',
  //   meta: {
  //     title: '排行'
  //   },
  //   component: (resolve) => require(['../views/rank.vue'], resolve)
  // },
  // {
  //   path: '/exchangeCenter',
  //   meta: {
  //     title: '兑换中心'
  //   },
  //   component: (resolve) => require(['../views/exchange.vue'], resolve)
  // },
  // {
  //   path: '/recommend',
  //   meta: {
  //     title: '推荐'
  //   },
  //   component: (resolve) => require(['../views/recommend.vue'], resolve)
  // },
  // {
  //   path: '/cooperation',
  //   meta: {
  //     title: '商务合作'
  //   },
  //   component: (resolve) => require(['../views/cooperation.vue'], resolve)
  // },
  // {
  //   path: '/userCenter',
  //   meta: {
  //     title: '用户中心'
  //   },
  //   component: (resolve) => require(['../views/usercenter.vue'], resolve),
  //   children: [
  //     {
  //       path: '/userCenter/info',
  //       component: (resolve) => require(['../components/userCenter/info.vue'], resolve),
  //     },
  //     {
  //       path: '/userCenter/bank',
  //       component: (resolve) => require(['../components/userCenter/bank.vue'], resolve),
  //     },
  //     {
  //       path: '/userCenter/cards',
  //       component: (resolve) => require(['../components/userCenter/cards.vue'], resolve),
  //     },
  //     {
  //       path: '/userCenter/getRebate',
  //       component: (resolve) => require(['../components/userCenter/getRebate.vue'], resolve),
  //     },
  //     {
  //       path: '/userCenter/getReward',
  //       component: (resolve) => require(['../components/userCenter/getReward.vue'], resolve),
  //     },
  //     {
  //       path: '/userCenter/getScore',
  //       component: (resolve) => require(['../components/userCenter/getScore.vue'], resolve),
  //     },
  //     {
  //       path: '/userCenter/rankReward',
  //       component: (resolve) => require(['../components/userCenter/rankReward.vue'], resolve),
  //     },
  //     {
  //       path: '/userCenter/scoreDetail',
  //       component: (resolve) => require(['../components/userCenter/scoreDetail.vue'], resolve),
  //     },
  //     {
  //       path: '/userCenter/shareStatics',
  //       component: (resolve) => require(['../components/userCenter/shareStatics.vue'], resolve),
  //     },
  //     {
  //       path: '/userCenter/opeRecords',
  //       component: (resolve) => require(['../components/userCenter/opeRecords.vue'], resolve),
  //     },
  //   ]
  // },
];
export default routers;
